<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="jp-pc w1200" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo ($page_seo["title"]); ?></title>
<meta content="<?php echo ($page_seo["keywords"]); ?>" name="keywords">
<meta content="<?php echo ($page_seo["description"]); ?>" name="description">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico">
<link rel="bookmark" href="/favicon.ico"/>
<link rel=stylesheet type=text/css href="__STATIC__/red/css/base.css" />
<link rel=stylesheet type=text/css href="__STATIC__/red/css/alert.css" />
<link type="text/css" rel="stylesheet" href="__STATIC__/newpi/css/global.css" />
<link type="text/css" rel="stylesheet" href="__STATIC__/newpi/css/md-list.css" />
<link type="text/css" rel="stylesheet" href="__STATIC__/newpi/css/pg-index.css" />
<script type="text/javascript" src="__STATIC__/newpi/js/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/newpi/js/sea-debug.js"></script>
<script type="text/javascript" src="__STATIC__/newpi/js/jquerya.min.js"></script>
<script type="text/javascript" src="__STATIC__/red/js/fun.js"></script>
<script type="text/javascript" src="__STATIC__/red/js/jquery.cookie.js"></script>
<script type="text/javascript" src="__STATIC__/newpi/js/header.js"></script>


<script type="text/javascript">
	SITEURL="<?php echo C('ftx_site_url');?>";
	CURURL="<?php echo C('ftx_site_url');?>";
	WEBNICK="<?php echo C('ftx_site_name');?>";
	URL_COOKIE=0;
</script>

<script src="__STATIC__/newpi/js/md-totop.js" type="text/javascript"></script>

<?php if(C('ftx_site_quancaiji') == '1'): ?><script type="text/javascript">window.setInterval('$.getJSON("/?m=huameiquancaiji&a=index",{}, function(){});',15000);</script><?php endif; ?>

<?php if(C('ftx_site_zidong') == '1'): ?><script type="text/javascript">
function is_mobile() {    var regex_match = /(nokia|iphone|android|motorola|^mot-|softbank|foma|docomo|kddi|up.browser|up.link|htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte-|longcos|pantech|gionee|^sie-|portalmmm|jigs browser|hiptop|^benq|haier|^lct|operas*mobi|opera*mini|320x320|240x320|176x220)/i;  var u = navigator.userAgent;  if (null == u) {   return true;  }  var result = regex_match.exec(u);  if (null == result) {   return false  } else {   return true  } } if (is_mobile()) {  document.location.href= "<?php echo C('ftx_header_html');?>"; }</script><?php endif; ?>


</head>
<body>
<?php echo R('advert/index', array(13), 'Widget');?>
<?php echo R('advert/index', array(10), 'Widget');?>
<div id="toolbar">
<div class="bar-con">
<ul class="topNav fl">
<?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'top','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li><a <?php if($nav_curr == $val['alias']): ?>class='active'<?php endif; ?>href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a><li><?php endforeach; endif; else: echo "" ;endif; ?>
<li><a href="<?php echo C('ftx_header_html');?>" target="_blank"><em class="icon-normal icon-phone"></em>手机版</a></li>
</ul>
<?php if(!empty($visitor)): ?><div class="right-show fr">
 <div class="logined-show">
 <a href="<?php echo U('user/index');?>" class="normal-a"><img src="<?php echo avatar($visitor['id'], 20);?>"><span class="user"><?php echo ($visitor["username"]); ?></span><em class="cur"></em></a>
 <div class="normal-box login-box">
 <ul>
 <li><a href="<?php echo U('user/like');?>"><i class="icon icon-01"></i><span>我的收藏</span></a></li>
 <li><a href="<?php echo U('user/index');?>"><i class="icon icon-03"></i><span>账号设置</span></a></li>
 <li><a href="<?php echo U('user/mingxi');?>"><i class="icon icon-02"></i><span>账户明细</span></a></li>
 <li><a href="<?php echo U('user/logout');?>"><i class="icon icon-04"></i><span>退出</span></a></li>
 </ul>
 </div>
 </div>
 <div class="personal-show">
 <a href="<?php echo U('user/union');?>"><span>邀请好友</span></a>　|</div>
 <div class="other-show">
 <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_qq');?>&amp;site=qq&amp;menu=yes" target="_blank" rel="nofollow">在线客服</a>
 <a href="<?php echo U('bao/index');?>" target="_blank">卖家报名</a>
 </div>
 </div>
 <?php else: ?>
<div class="right-show fr">
<div class="union-login">
<?php if(is_array($oauth_list)): $i = 0; $__LIST__ = $oauth_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i; if($val["code"] == 'qq'): ?><a href="<?php echo U('oauth/index', array('mod'=>$val['code']));?>" >
		<span style="background:url(/static/newpi/images/new-alert-total.gif) no-repeat;
		width: 22px;
		height: 25px;
		display: inline-block;
		z-index: 99;
		background-position: 0px -28px;
		vertical-align: middle;
		margin: 0 0px 0 8px;"></span><?php echo ($val["name"]); ?></a><?php endif; ?>
	<?php if($val["code"] == 'taobao'): ?><a href="<?php echo U('oauth/index', array('mod'=>$val['code']));?>" >
		<span style="background:url(/static/newpi/images/new-alert-total.gif) no-repeat;
		width: 22px;
		height: 25px;
		display: inline-block;
		z-index: 99;
		background-position:0px -0px;
		vertical-align: middle;
		margin: 0 0px 0 8px;"></span><?php echo ($val["name"]); ?></a><?php endif; ?>
	<?php if($val["code"] == 'sina'): ?><a href="<?php echo U('oauth/index', array('mod'=>$val['code']));?>" >
		<span style="background:url(/static/newpi/images/new-alert-total.gif) no-repeat;
		width: 22px;
		height: 25px;
		display: inline-block;
		z-index: 99;
		background-position:0px -55px;
		vertical-align: middle;
		margin: 0 0px 0 8px;"></span><?php echo ($val["name"]); ?></a><?php endif; endforeach; endif; else: echo "" ;endif; ?>
&#12288;| </div>
<div class="login-show">
<a href="<?php echo U('user/login');?>">登录</a>
<a href="<?php echo U('user/register', array('login_type'=>1));?>">免费注册</a>&#12288;|</div>
<div class="other-show">
<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_qq');?>&amp;site=qq&amp;menu=yes">在线客服</a>
<a href="<?php echo U('bao/index');?>">卖家报名</a></div>
</div><?php endif; ?>
</div>
</div>
<div class="header">
    <div class="area">
        <div class="logo logo1">
            <div class="fl"><a class="juan-logo fl" href="<?php echo C('ftx_site_url');?>" title="<?php echo C('ftx_site_name');?>"><img src="<?php echo C('ftx_site_logo');?>"></a></div>
           
        </div>
        <div class="protection" style="background: url(<?php echo C('ftx_site_navlogo');?>) no-repeat;">
            <a title="每天10点开抢" class="update" href="#" target="_blank"></a>
            <a title="职业买手砍价" class="lowest" href="#consumer03" target="_blank"></a>
            <a title="商品验货质检" class="check" href="#consumer04" target="_blank"></a>
        </div>
         <div class="search">
		<form name="search" action="<?php echo C('ftx_site_url');?>" method="get" id="search">
	       <input type="hidden" name="m" value="search">
           <input type="hidden" name="a" value="index">
		   <span class="search-area fl">
		   <input x-webkit-speech name="k" id="k" autocomplete="off" onblur="this.value==''?this.value=this.title:null" onfocus="this.value==this.title?this.value='':null" title="懒得找了，我搜..." value="懒得找了，我搜..." class="txt" />
		    </span><input type="submit" value="" class="smt fr"></form>          
        </div>
    </div>
    <div class="mainNav">
        <div class="nav">
            <ul class="navigation fl">  
            <li <?php if(($nav_curr == 'index')or($cate != '')): ?>class="current first"<?php endif; ?>><a href="<?php echo C('ftx_site_url');?>">所有分类<?php if(($nav_curr == 'index')or($cate != '')): ?><em class="cur"></em><?php endif; ?></a>
            
           
            </li>             
		    <?php $tag_nav_class = new navTag;$data = $tag_nav_class->lists(array('type'=>'lists','style'=>'main','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><li <?php if($nav_curr == $val['alias']): ?>class='current'<?php endif; ?>><a href="<?php echo ($val["link"]); ?>" <?php if($val["target"] == 1): ?>target="_blank"<?php endif; ?>><?php echo ($val["name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?> 
             <li>
                    <a href="<?php echo C('ftx_header_html');?>" target="_blank" id="show-qcodes">
                        <em class="icon-normal icon-phone" id="new-phone"></em>
                        手机APP
                    </a>
                    <div id="new-qcodes" class="code-tips" style="display: none;">
                        <div class="code-box">
                            <p class="code"><img src="<?php echo C('ftx_site_url'); echo C('ftx_site_browser');?>" width="148px" height="148px"></p>
                            <p class="txt" style="text-align:center;font-size: 14px">随时逛 及时抢</p>
                        </div>
                    </div>
               </li>     
                <li class="fanli"><em class="icon-fanli"><img src="/static/newpi/images/hot.gif"></em><a class="fanli" href="<?php echo U('free/index');?>" _hover-ignore="1">零元试用</a></li>          
            </ul>
            <div class="state-show fr" > 
			<a class="normal-a <?php if($nav_curr == 'gift'): ?>on<?php endif; ?>" href="<?php echo U('gift/index');?>" target="_blank">积分商城</a>
           <?php if(!empty($visitor)): ?><span id="signinid">
			<a href="#" class="sign_btn signin normal-a"><em class="icon-normal icon-sign"></em><em class="text">签到领积分</em></a>
                <div class="normal-side-box">
                    <div class="box-tips">
                        <p>欢迎您：<?php echo ($visitor["username"]); ?></p>
                        <p>您的积分：<?php echo ($visitor["score"]); ?></p>
		                <p>积分可<a target="_blank" href="<?php echo U('gift/index');?>">免费兑换商品</a></p>
		                <p>每日登陆<b>+<?php echo C('ftx_score_rule.login');?></b>积分</p>
		                <p>邀请访问<b>+<?php echo C('ftx_score_rule.union_visit');?></b>积分</p>
		                <p>邀请注册<b>+<?php echo C('ftx_score_rule.union_reg');?></b>积分</p> 
                    </div>
                </span>
             <?php else: ?>		
			<span id="signinid">
			<a href="#" class="sign_btn signin normal-a dosign"><em class="icon-normal icon-sign"></em><em class="text">签到领积分</em></a>
                <div class="normal-side-box">
                    <div class="box-tips">
                        <p>登陆后 签到奖励</p>
                        <p>首次签到可得：<span> <b><?php echo C('ftx_score_rule.sign');?></b> 积分</span></p>
		                <p>连续签到 <span><?php echo C('ftx_score_rule.sign_day');?></span> 天</p>
		                <p>每日递增 <span><?php echo C('ftx_score_rule.sign_add');?></span> 积分</p> 
                    </div>
                </span><?php endif; ?>	
				</div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
$("#show-qcodes , #new-qcodes").hover(function(){
    $("#new-qcodes").css('display','block');
},function(){
    $("#new-qcodes").css('display','none');
})
</script>





<?php echo R('advert/index', array(1), 'Widget');?>
<div class="top_wrap">
    <div class="top_box">        
        <div class="banner_l">
        <dl>
		<?php if(is_array($cate_data)): $i = 0; $__LIST__ = $cate_data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bcate): $mod = ($i % 2 );++$i; if($bcate['pid'] == 0): ?><dd>
        <a href="<?php echo U('index/cate', array('cid'=>$bcate['id']));?>"><i class="ct-icon ct-icon-<?php echo ($bcate["cateimg"]); ?>"></i><?php echo ($bcate["name"]); if(($mod) == "0"): ?><em class="ct-line"></em><?php endif; ?></a>
        </dd><?php endif; endforeach; endif; else: echo "" ;endif; ?>                
        </dl>
        </div>        
        <div class="banner_r" style="background:#f7f7f7;box-shadow:none">
		<dl>
		<?php echo R('advert/index', array(3), 'Widget');?>
        <?php echo R('advert/index', array(11), 'Widget');?>
        </dl>
		</div>        
        <div class="round">
        <div class="adType">
        </div>
        </div>
        <div style="display: none;" class="banner_arrow" data-banner="arrow">
            <a href="javascript:;" class="arrow_prev" data-arrow="prev"><i></i></a>
            <a href="javascript:;" class="arrow_next" data-arrow="next"><i></i></a>
        </div>
    </div>
</div>     
 
<div class="main w1200">


<div class="brand_index clear">
  <div class="brand_list">
  	<?php $tag_item_class = new itemTag;$data = $tag_item_class->hotbrand(array('type'=>'hotbrand','num'=>'3','order'=>'id desc','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><a class="com-item com-odd" title="<?php echo ($item["title"]); ?>" target="_blank" href="<?php echo U('brand/view',array('id'=>$item['id']));?>">
    	<div class="img-wp">
        	<img alt="" class="com-img" src="<?php echo ($item["newpic"]); ?>"> 
            <span class="bg"></span><span class="com-desc"><?php echo ($item["name"]); ?></span><span class="com-time" data-time="<?php echo ($item['coupon_end_time']); ?>" data-id="<?php echo ($item['id']); ?>" id="end_date_<?php echo ($item['id']); ?>">距结束还剩:</span></div><div class="com-intro"><div class="com-num">总共<span>96</span>件</div><div class="com-logo"><img alt="<?php echo ($item["title"]); ?>" src="<?php echo ($item["logo"]); ?>"></div><div class="com-slogon"><?php echo ($item["title"]); ?></div></div></a><?php endforeach; endif; else: echo "" ;endif; ?>
  </div>

  
<div class="brand-icons clear">
 <span class="txt fl">更多品牌特卖:</span>
    <ul class="fl">
      <?php $tag_item_class = new itemTag;$data = $tag_item_class->morebrand(array('type'=>'morebrand','num'=>'8','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('brand/view',array('id'=>$item['id']));?>" target="_blank"><img src="<?php echo ($item["logo"]); ?>" width="80px" alt="<?php echo ($item["intro"]); ?>"></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
    <a href="<?php echo U('brand/index');?>" target="_blank" class="see-all fr"><span class="fl">查看全部</span><em class="go-icon fr"></em></a> </div>
</div>
<div class="new-users clear">
  <ul class="fl">
    <li><i class="f"></i><span>淘宝天猫特卖1折起</span></li>
    <li><i class="s"></i><span>全场9.9元包邮</span></li>
    <li><i class="t"></i><span>100%验货质检</span></li>
  </ul>
  <div class="update-time fr">
    <div class="txt fl">每天 10:00 上新<br>
      <span>距下次更新还有</span></div>
    <div class="times ml15 fl" id="end_date_0" data-time="<?php echo ($nowten); ?>"></div>
  </div>
</div>

<script type="text/javascript">
function show_date_time(end,style,id){
    today=new Date(); 
	timeold=((end)*1000-today.getTime()); 
	if (timeold < 0) {
        $("#end_date_"+id).html("已结束");
    }else{
		
    setTimeout("show_date_time("+end+','+style+','+id+")", 100); 
    sectimeold=timeold/1000;
	secondsold=Math.floor(sectimeold); 
	msPerDay=24*60*60*1000;
	e_daysold=timeold/msPerDay;
	daysold=Math.floor(e_daysold); 
	e_hrsold=(e_daysold-daysold)*24;
	hrsold=Math.floor(e_hrsold); 
	e_minsold=(e_hrsold-hrsold)*60;
	minsold=Math.floor((e_hrsold-hrsold)*60); 
	e_seconds = (e_minsold-minsold)*60;
	seconds=Math.floor((e_minsold-minsold)*60); 
	ms = e_seconds-seconds;
	ms = new String(ms);
	ms1 = ms.substr(2,1);
	ms2 = ms.substr(2,2);
	hrsold1=daysold*24+hrsold;
	if(style == 1){
		$("#end_date_"+id).html('<em>'+(hrsold1<10?'0'+hrsold1:hrsold1)+"</em>小时<em>"+(minsold<10?'0'+minsold:minsold)+"</em>分<em>"+(seconds<10?'0'+seconds:seconds)+"</em>秒");
	}else if(style == 2){
		$("#end_date_"+id).html('<em>'+daysold+"</em>天<em>"+(hrsold<10?'0'+hrsold:hrsold)+"</em>时<em>"+(minsold<10?'0'+minsold:minsold)+"</em>分<em>"+(seconds<10?'0'+seconds:seconds)+"</em>秒");
	}else if(style == 3){
		$("#end_date_"+id).html("<span class='hours'><em>"+(hrsold1<10?'0'+hrsold1:hrsold1)+"</em><i>小时</i></span><span class='minutes'><em>"+(minsold<10?'0'+minsold:minsold)+"</em><i>分</i></span><span class='seconds'><em>"+(seconds<10?'0'+seconds:seconds)+"</em><i>秒</i></span>");
	}else{
		$("#end_date_"+id).html(daysold+"天"+(hrsold<10?'0'+hrsold:hrsold)+"小 时"+(minsold<10?'0'+minsold:minsold)+"分"+(seconds<10?'0'+seconds:seconds)+"秒."+ms2);
	}
	}
}
$(".com-time").each(function() {
        var reg = /^[0-9]+$/;
        var times = $(this).attr('data-time');
		var id = $(this).attr('data-id');
        if (reg.test(times)) {
            show_date_time(times, 3, id);
        }
	});
$(".times").each(function() {
        var reg = /^[0-9]+$/;
        var times = $(this).attr('data-time');
        if (reg.test(times)) {
            show_date_time(times, 3, 0);
        }
	});;
</script> 

 <div class="main pr mt25 clear">
 <ul class="goods-list clear">
 <?php if(is_array($items_list)): $i = 0; $__LIST__ = $items_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 4 );++$i;?><li class="<?php if(($mod) == "3"): ?>last<?php endif; ?>" gtype="1" id="<?php echo ($item["id"]); ?>">
                <div class="list-good <?php echo ($item["class"]); ?>">
                    <div class="good-pic">
                        <a href="<?php echo U('item/index',array('id'=>$item['id']));?>" class="pic-img" target="_blank">
                        <img alt="<?php echo ($item["title"]); ?>" src="<?php echo C('ftx_site_flogo');?>" class="<?php if(($mod) == "0"): ?>J_lazy<?php endif; if(($mod) == "1"): ?>J_lazy<?php endif; if(($mod) == "2"): ?>J_lazy<?php endif; if(($mod) == "3"): ?>J_lazys<?php endif; ?> lazy good-pic" d-src="<?php echo attach(get_thumb($item['pic_url'], '_b'),'item');?>" data-bimg="<?php echo ($item['pic_url']); ?>"/><?php echo (newicon($item["coupon_start_time"])); ?></a>
                     </div>
                      <?php if($item["isq"] == 1): ?><div class="lingquan"><a href="<?php echo U('jump/index',array('id'=>$item['id']));?>" target="_blank" rel="nofollow"><span class="get_cupon"><em><?php echo ($item["quan"]); ?>元</em></span><b></b></a></div><?php endif; ?>
                    <h3 class="good-title">
                        <?php if($item["ems"] == 1): ?>[包邮]<?php endif; ?><a href="<?php echo U('item/index',array('id'=>$item['id']));?>" target="_blank"><?php echo ($item["title"]); ?></a>
                        <div class="icon-all" style="display:none;">
                        </div>
                        <span class="sold">已售<em><?php if($item["volume"] > 10000): echo (vmwan($item["volume"])); else: echo ($item["volume"]); endif; ?></em></span>
                    </h3>
                    <div class="good-price">
                        <span class="price-current" ><em>￥</em><?php echo ($item["coupon_price"]); ?></span>
                   <span class="des-other">
                       <?php if($item["isq"] == 1): ?><strong><div class="ljpx" _hover-ignore="1"></div></strong><?php endif; ?>
					    <p><span class="price-old"><em>￥</em><?php echo ($item["price"]); ?></span>
                        <span class="discount">(<em><?php echo ($item["zk"]); ?></em>折)</span>
						</p>
                    </span>
					<?php if($item["class"] == 'start'): ?><div class="btn start_1 ">
                    <a href="" target="_blank"><span>明日</span><b>10:00</b> </a>
					</div><?php endif; ?>
					<?php if($item["class"] == 'buy'): ?><div class="btn buy m-buy">
                   <a href="<?php echo U('jump/index',array('id'=>$item['id']));?>" target="_blank"><?php if($item["shop_type"] == 'C' ): ?><em class="t-icon"></em><span>淘宝</span><?php endif; if($item["shop_type"] == 'B' ): ?><em class="m-icon"></em><span>天猫</span><?php endif; ?> </a>
                   </div><?php endif; ?>
				   <?php if($item["class"] == 'gone'): ?><div class="btn gone m-buy">
                                <a href="javascript:;"><?php if($item["shop_type"] == 'C' ): ?><em class="t-icon"></em><span>淘宝</span><?php endif; if($item["shop_type"] == 'B' ): ?><em class="m-icon"></em><span>天猫</span><?php endif; ?></a>
                            </div><?php endif; ?>
                    </div>
					<a class="y-like my-like" data-pid="<?php echo ($item["num_iid"]); ?>" href="javascript:;" title="加入收藏"><i class="like-ico"><span class="heart_left"></span><span class="heart_right"></span></i></a>
<?php if($item["class"] == 'gone'): ?><div class="box-hd" style="display:block">
<div class="mask-bg"></div>
<em class="buy-over">抢光了</em>
</div><?php endif; ?>
</div>
</li><?php endforeach; endif; else: echo "" ;endif; ?>      
</ul>
<div class="page">
<em></em>
<div>
<?php echo ($page); ?>
</div>
</div>
</div> 



<!--文章系统start-->
<center>
  <div class="bottom1">
    <div class="bottom_tp">
      <span>最新文章</span>
      <a class="kanmore" href="<?php echo U('article/index');?>" target="_blank">
        <b class="txt">查看更多</b>
      </a>
    </div>
    <div class="mains2">
      <div class="content_text" style="margin: auto 20px">
        <ul>
        <?php if(is_array($article)): $i = 0; $__LIST__ = $article;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?><li>
                <a href="<?php echo U('article/read',array('id'=>$data['id']));?>" target="_blank"><?php echo ($data['title']); ?></a>
                <span><?php echo (date("Y-m-d",$data['add_time'])); ?></span>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>          
      </div>
      <div class="clr"></div>
    </div>
  </div>
</center>
<!--文章系统end-->

  </div>
</div>

<div class="nav-main">
	<div class="main e-nav w1200">
		<div class="nav-item fl">
			<div class="item-list">
				<ul>
				<li><a href="<?php echo C('ftx_site_url');?>" <?php if(empty($cid)): ?>class="active"<?php endif; ?>>全部</a></li>				
				<?php if(is_array($cate_data)): $i = 0; $__LIST__ = $cate_data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bcate): $mod = ($i % 2 );++$i; if($bcate['spid'] == 0): ?><li><a <?php if($spid == $bcate['id']): ?>class="active"<?php endif; ?> href="<?php echo U('index/cate', array('cid'=>$bcate['id']));?>" title="<?php echo ($bcate["name"]); ?>"><?php echo ($bcate["name"]); ?></a></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
		</div>	
		<div class="nav-other fl">
			<ul>
				<li><a href="<?php echo U('xinpin/index');?>" ><i class="today"></i><span>今日新品</span></a></li>
				<li><a href="<?php echo U('yugao/index');?>" ><i class="tw"></i><span>明日预告</span></a></li>
			</ul>
		</div>
		<div class="n_h">
			<span>排序：</span>
			<a href="<?php echo U('index/index');?>"  class=" <?php if($index_info['sort'] == 'default'): ?>active<?php endif; ?> ">默认</a>
			<a href="<?php echo U('index/index',array('sort'=>'new'));?>" class=" <?php if($index_info['sort'] == 'new'): ?>active<?php endif; ?> ">最新</a>
			<a href="<?php echo U('index/index',array('sort'=>'hot'));?>" class=" <?php if($index_info['sort'] == 'hot'): ?>active<?php endif; ?> ">销量</a></div>
		</div>
	</div>

<div class="foot">
    <div class="white_bg">
    <div class="foot-con">
        <div class="con-box-n clear">
            <div class="app-side-box fl">
                <p class="app-show"><img src="<?php echo C('ftx_site_weixin');?>"></p>
                <p class="app-txt">扫描二维码打开</p>
            </div>
            <div class="con-left-info fl">
                <dl class="update">
                   <dt>获取更新</dt>
                    <dd><a href="<?php echo U('apps/index');?>" target="_blank" rel="nofollow"><i></i>iPhone/Android</a></dd>
                    <dd><a href="<?php echo C('ftx_qzone_url');?>" target="_blank" rel="nofollow"><i></i>QQ空间</a></dd>
                    <dd><a href="<?php echo C('ftx_sina_url');?>" target="_blank" rel="nofollow"><i></i>新浪微博</a></dd>
                    <dd><a href="<?php echo C('ftx_tenxun_url');?>" target="_blank" rel="nofollow"><i></i>腾讯微博</a></dd>
                </dl>
                <dl class="cooperation">
                    <dt>商务合作</dt>
                    <dd><a href="<?php echo U('bao/index');?>" target="_blank"><i></i>卖家免费报名</a></dd>
                    <dd><a href="<?php echo U('help/read',array('id'=>2));?>" target="_blank" rel="nofollow"><i></i>商务合作</a></dd>
                    <dd><a href="<?php echo U('help/read',array('id'=>2));?>" target="_blank" rel="nofollow"><i></i>广告合作</a></dd>
                    <dd><a href="<?php echo U('help/read',array('id'=>5));?>" target="_blank" rel="nofollow"><i></i>免责声明</a></dd>
               
                </dl>
                <dl class="cor-info">
                    <dt>用户帮助</dt>
                     <dd><a href="<?php echo U('help/read',array('id'=>6));?>" target="_blank" rel="nofollow"><i></i>常见问题</a></dd>
                      <dd><a href="<?php echo U('help/xiaobao');?>" target="_blank" rel="nofollow"><i></i>消费保障</a></dd>
                      <dd><a href="<?php echo U('forget/index');?>" target="_blank" rel="nofollow"><i></i>忘记密码</a></dd>
                      <dd><a href="<?php echo U('user/register');?>" target="_blank" rel="nofollow"><i></i>免费注册</a></dd>
                     </dl>
                <dl class="help-info">
                    <dt>用户中心</dt>
                    <dd><a href="<?php echo U('user/like');?>" target="_blank" rel="nofollow"><i></i>我的收藏</a></dd>
                    
                    <dd><a href="<?php echo U('help/read',array('id'=>6));?>" target="_blank" rel="nofollow"><i></i>积分攻略</a></dd>
                    <dd><a href="<?php echo U('sitemap/index');?>" target="_blank"><i></i>网站地图</a></dd>
                </dl>
                            </div>
            <div class="con-menu fr">
                <a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo C('ftx_qq');?>&amp;site=qq&amp;menu=yes" class="service-add fl" target="_blank"></a>
            <span class="service-time fl">
                <p>周一至周六 </p>
                <p>9:00-22:00 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
            </span>
            </div>
        </div>
                    <div class="links">
	<span>友情链接：</span>
<div class="links_list_box">
<ul class="links_list">
<li>
<?php $tag_link_class = new linkTag;$data = $tag_link_class->lists(array('type'=>'lists','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = array_slice($data,0,10,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><a href="<?php echo ($val["url"]); ?>" target="_blank"><?php echo ($val["name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
</li>
<li>
<?php $tag_link_class = new linkTag;$data = $tag_link_class->lists(array('type'=>'lists','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = array_slice($data,10,10,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><a href="<?php echo ($val["url"]); ?>" target="_blank"><?php echo ($val["name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
</li>
<li>
<?php $tag_link_class = new linkTag;$data = $tag_link_class->lists(array('type'=>'lists','cache'=>'0','return'=>'data',)); if(is_array($data)): $i = 0; $__LIST__ = array_slice($data,20,10,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><a href="<?php echo ($val["url"]); ?>" target="_blank"><?php echo ($val["name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
</li>
</ul>
</div>
</div>
<p class="ft-company"><?php echo C('ftx_site_name');?>&nbsp;&nbsp;<a href="http://www.miibeian.gov.cn" target="_blank"><?php echo C('ftx_site_icp');?></a>&#12288;&#12288;Copyright &copy; 2010 - 2016 <?php echo C('ftx_site_url');?> All Rights Reserved  <?php echo C('ftx_statistics_code');?></p>                    
</div>
</div>
</div>
<div id="J_sidebar" class="side_right">
        <div class="side-box">
            <ul class="side-oper">
                <li class="normal side-user">
                    <a class="links" id="J_user" target="_blank" href="<?php echo U('user/index');?>">
                        <i class="normal-icon i-user"></i>
                    </a>
                    <div id="side-login" class="tab-tips tab-login">
                        <div class="user-box">     
						    <div class="pic"><img src="<?php echo avatar($visitor['id'], 64);?>"></div>
                            <p class="txt"></p>
                        </div>
                        <i class="close">×</i>
                        <div class="arr-icon">◆</div>
                    </div>
                </li>
                <li class="normal side-cart">
                    <a class="links links-cart" id="J_cart" href="javascript:;">
                        <i class="normal-icon i-cart"></i>
                        <em class="num cartnum"><?php echo getlike($visitor['id']);?></em>
                    </a>
                    <div class="tab-tips tab-tag">
                        <div class="carttime"></div><div class="arr-icon">◆</div>
                    </div>
                   
                </li>
                <li class="normal side-love">
                    <a class="links" id="J_love" target="_blank" href="<?php echo U('user/like');?>">
                        <i class="normal-icon i-love"></i>
                    </a>
                    <div class="tab-tips">我的收藏<div class="arr-icon">◆</div> </div>
                </li>
                <li class="normal side-quan">
                    <a class="links" id="J_quan" target="_blank" href="<?php echo U('user/gift');?>">
                        <i class="normal-icon i-quan"></i>
                    </a>
                    <div class="tab-tips">我的礼品<div class="arr-icon">◆</div> </div>
                </li>
            </ul>
            <ul class="side-oper other">
             
				<li class="normal side-ad">
	                <a class="links links_ad" href="#"  target="_blank">
	                    <img src="http://s.juancdn.com/jpwebapp/images/pc-colour/style-nav.jpg?v=swj423">
	                </a>
	                <div class="tab-tips">
	                    <a href="#" target="_blank"><img src="http://s.juancdn.com/jpwebapp/images/pc-colour/style.png?v=swj423" width="130" height="248px;"></a>
	                </div>
	            </li>  
                <li class="normal side-complain">
                    <a class="links" id="J_complain" target="_blank" href="<?php echo U('user/msg',array('do'=>'send'));?>">
                        <i class="normal-icon i-complain"></i>
                    </a>
                    <div class="tab-tips">意见反馈<div class="arr-icon">◆</div> </div>
                </li>
                <li class="normal side-code">
                    <a class="links" id="J_code" href="javascript:;">
                        <i class="normal-icon i-code"></i>
                    </a>
                    <div class="tab-tips">
                        <div class="code-box">
                            <p class="code"><img src="<?php echo C('ftx_site_weixin');?>" width="90px"></p>
                            <p class="txt">扫描下载二维码</p>
                        </div>
                        <div class="arr-icon">◆</div>
                    </div>
                </li>
                <li class="normal side-backtop">
                    <a class="links" id="J_backtop" href="javascript:;">
                        <i class="normal-icon i-backtop"></i>
                    </a>
                    <div class="tab-tips">返回顶部<div class="arr-icon">◆</div> </div>
                </li>
            </ul>
        </div>
       
    </div>	
    <script src="/static/newpi/js/init.js" type="text/javascript"></script>
<script type="text/javascript">
var FTXIAER = {
 root: "__ROOT__",
 site: "<?php echo C('ftx_site_url');?>",
 uid: "<?php echo ($visitor['id']); ?>", 
 loginurl:"<?php echo U('user/login');?>",
 userurl:"<?php echo U('user/index');?>",
 username:"<?php echo ($visitor['username']); ?>",
 face:"<?php echo avatar($visitor['id'], 64);?>",
 url:{}
};
var lang = {};
<?php $_result=L('js_lang');if(is_array($_result)): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>lang.<?php echo ($key); ?> = "<?php echo ($val); ?>";<?php endforeach; endif; else: echo "" ;endif; ?>
</script>
<?php $tag_load_class = new loadTag;$data = $tag_load_class->js(array('type'=>'js','href'=>'__STATIC__/js/jquery/plugins/jquery.tools.min.js,__STATIC__/js/jquery/plugins/jquery.masonry.js,__STATIC__/js/jquery/plugins/formvalidator.js,__STATIC__/js/fileuploader.js,__STATIC__/js/ftxia.js,__STATIC__/js/front.js,__STATIC__/js/dialog.js,__STATIC__/js/item.js,__STATIC__/js/user.js,__STATIC__/red/js/comment.js,__STATIC__/red/js/comm.js','cache'=>'0','return'=>'data',));?>
<script src="__STATIC__/newpi/js/lightbox.js" type="text/javascript"></script>
<script src="__STATIC__/newpi/js/goodlist.js" type="text/javascript"></script> 
<script type="text/javascript">
	$("img.lazy").lazyload({threshold:200,failure_limit:30});	
</script>
<script type="text/javascript" src="__STATIC__/newpi/js/pg-index.js" ></script>
<?php echo C('ftx_weibo_code');?>
<?php echo C('ftx_tencent_code');?>
<?php echo C('ftx_taojindian_html');?>

</body>
</html>